// import Cookies from 'js-cookie'
import LocalStorage from './localStorage'
class Token {
  constructor() {
    this.TokenKey = 'app_token'
  }

  set (token) {
    return LocalStorage.set(this.TokenKey, token)
  }

  get () {
    return LocalStorage.get(this.TokenKey) || ''
  }

  remove () {
    return LocalStorage.remove(this.TokenKey)
  }
}

export default new Token()
